package com.itboy.mall.sms.skufullreduction.bo;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;
import com.itboy.common.core.domain.BaseEntity;

/**
 * 商品满减信息分页查询对象 mall_sku_full_reduction
 *
 * @author itboy
 * @date 2021-08-08
 */

@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel("商品满减信息分页查询对象")
public class MallSkuFullReductionQueryBo extends BaseEntity {

    /**
     * 分页大小
     */
	@ApiModelProperty("分页大小")
	private Integer pageSize;
    /**
     * 当前页数
     */
	@ApiModelProperty("当前页数")
	private Integer pageNum;
    /**
     * 排序列
     */
	@ApiModelProperty("排序列")
	private String orderByColumn;
    /**
     * 排序的方向desc或者asc
     */
	@ApiModelProperty(value = "排序的方向", example = "asc,desc")
	private String isAsc;


    /**
     * spu_id
     */
	@ApiModelProperty("spu_id")
	@JsonSerialize(using = ToStringSerializer.class)
	private Long skuId;
    /**
     * 满多少
     */
	@ApiModelProperty("满多少")
	private BigDecimal fullPrice;
    /**
     * 减多少
     */
	@ApiModelProperty("减多少")
	private BigDecimal reducePrice;
    /**
     * 是否参与其他优惠
     */
	@ApiModelProperty("是否参与其他优惠")
	private Integer addOther;

}
